//
//  CycleContentModel.m
//  礼物go
//
//  Created by dllo on 16/5/18.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CycleContentModel.h"
#import "SelectContentModel.h"

@implementation CycleContentModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{

}


-(void)setPosts:(NSMutableArray *)posts{
    _posts = posts;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in posts) {
        SelectContentModel *select = [[SelectContentModel alloc] init];
        [select setValuesForKeysWithDictionary:dic];
        [array addObject:select];
    }
    _posts = [NSMutableArray arrayWithArray:array];
}



@end
